package com.eyedsion.his.web.entity.basedata;

import com.eyedsion.his.web.entity.common.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 彭长云
 * @Description:
 * @date 2018/12/10 16:46
 */
@Entity
@Table(name = "pub_cost_item")
public class PubCostItem extends BaseEntity{
    @Id
    private String code;//费用项目编码 [CODE, VARCHAR2, 32]
    private String secondCateCode;//费用项目所属细类 [SECOND_CATE_CODE, VARCHAR2, 32]
    private String tname;//费用项目名称 [TNAME, VARCHAR2, 128]
    private String wholeCode;//医保统筹类别 [WHOLE_CODE, VARCHAR2, 32]
    private BigDecimal costPrice;//费用项目单价 [COST_PRICE, NUMBER, 14.4]
    private Long tstatus;//状态; 1-启用；2-停用 [TSTATUS, NUMBER, 1.0]
    private String createUser;//创建人 [CREATE_USER, VARCHAR2, 32]
    private Date createTime;//创建时间 [CREATE_TIME, DATE, 7]
    private Date updateTime;//更新时间 [UPDATE_TIME, DATE, 7]
    private String hisCode;//his系统对应的code [HIS_CODE, VARCHAR2, 32]
    private String isAuxiExami;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getSecondCateCode() {
        return secondCateCode;
    }

    public void setSecondCateCode(String secondCateCode) {
        this.secondCateCode = secondCateCode;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public String getWholeCode() {
        return wholeCode;
    }

    public void setWholeCode(String wholeCode) {
        this.wholeCode = wholeCode;
    }

    public BigDecimal getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(BigDecimal costPrice) {
        this.costPrice = costPrice;
    }

    public Long getTstatus() {
        return tstatus;
    }

    public void setTstatus(Long tstatus) {
        this.tstatus = tstatus;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getHisCode() {
        return hisCode;
    }

    public void setHisCode(String hisCode) {
        this.hisCode = hisCode;
    }

    public String getIsAuxiExami() {
        return isAuxiExami;
    }

    public void setIsAuxiExami(String isAuxiExami) {
        this.isAuxiExami = isAuxiExami;
    }
}
